﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class MakeRoomButton : MonoBehaviour {

    void OnClick()
    {
			LoadingWindow.window.ShowShortLoading();
//		List<CMapData> mapList = CMapDataManager.Instance.GetMapList();
//		CSceneManager.m_mapName = "map_" + mapList[MapListManager.selectedIndex].name;
//		CSceneManager.m_mapName = "map_demo01";
        CSceneManager c = GameObject.FindObjectOfType(typeof(CSceneManager)) as CSceneManager;
        c.OnCreateJoinButton();
    }
}
